package com.yueka.service;

import com.yueka.pojo.PageResult;
import com.yueka.pojo.course.Course;
import com.yueka.pojo.course.CourseQueryParam;

import java.util.List;

public interface CourseService {
    PageResult<Course> list(CourseQueryParam courseQueryParam);

    void delete(Integer id);

    void insert(Course course);

    void update(Course course);

    List<Course> byStudentId(Integer studentId);

    Integer getallTotalLessons(Integer studentId);
}
